package top.fsn.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @Author FSN
 * @Date 2021/3/21 11:32
 */
@Configuration
@ConfigurationProperties(prefix = "application.dubbo.demo.server")
@PropertySource("classpath:dubbo-server.properties")
@Data
public class DubboProperties {
    private String name;
    private String address;
    private String client;
}
